#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "sign.h"

int signf(double value){
    int res;
    if (value > pow(10.0,-30.0))
        res = 1;
    else if( abs(value) <= pow(10.0,-30.0)){
        res = 0;
    }else{
        res = -1;

    }

    return res;
}


